package com.anolesoft.yr.store.stk.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class StkStoreExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public StkStoreExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andObjuidIsNull() {
            addCriterion("OBJUID is null");
            return (Criteria) this;
        }

        public Criteria andObjuidIsNotNull() {
            addCriterion("OBJUID is not null");
            return (Criteria) this;
        }

        public Criteria andObjuidEqualTo(String value) {
            addCriterion("OBJUID =", value, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidNotEqualTo(String value) {
            addCriterion("OBJUID <>", value, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidGreaterThan(String value) {
            addCriterion("OBJUID >", value, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidGreaterThanOrEqualTo(String value) {
            addCriterion("OBJUID >=", value, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidLessThan(String value) {
            addCriterion("OBJUID <", value, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidLessThanOrEqualTo(String value) {
            addCriterion("OBJUID <=", value, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidLike(String value) {
            addCriterion("OBJUID like", value, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidNotLike(String value) {
            addCriterion("OBJUID not like", value, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidIn(List<String> values) {
            addCriterion("OBJUID in", values, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidNotIn(List<String> values) {
            addCriterion("OBJUID not in", values, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidBetween(String value1, String value2) {
            addCriterion("OBJUID between", value1, value2, "objuid");
            return (Criteria) this;
        }

        public Criteria andObjuidNotBetween(String value1, String value2) {
            addCriterion("OBJUID not between", value1, value2, "objuid");
            return (Criteria) this;
        }

        public Criteria andPartNoIsNull() {
            addCriterion("part_no is null");
            return (Criteria) this;
        }

        public Criteria andPartNoIsNotNull() {
            addCriterion("part_no is not null");
            return (Criteria) this;
        }

        public Criteria andPartNoEqualTo(String value) {
            addCriterion("part_no =", value, "partNo");
            return (Criteria) this;
        }

        public Criteria andPartNoNotEqualTo(String value) {
            addCriterion("part_no <>", value, "partNo");
            return (Criteria) this;
        }

        public Criteria andPartNoGreaterThan(String value) {
            addCriterion("part_no >", value, "partNo");
            return (Criteria) this;
        }

        public Criteria andPartNoGreaterThanOrEqualTo(String value) {
            addCriterion("part_no >=", value, "partNo");
            return (Criteria) this;
        }

        public Criteria andPartNoLessThan(String value) {
            addCriterion("part_no <", value, "partNo");
            return (Criteria) this;
        }

        public Criteria andPartNoLessThanOrEqualTo(String value) {
            addCriterion("part_no <=", value, "partNo");
            return (Criteria) this;
        }

        public Criteria andPartNoLike(String value) {
            addCriterion("part_no like", value, "partNo");
            return (Criteria) this;
        }

        public Criteria andPartNoNotLike(String value) {
            addCriterion("part_no not like", value, "partNo");
            return (Criteria) this;
        }

        public Criteria andPartNoIn(List<String> values) {
            addCriterion("part_no in", values, "partNo");
            return (Criteria) this;
        }

        public Criteria andPartNoNotIn(List<String> values) {
            addCriterion("part_no not in", values, "partNo");
            return (Criteria) this;
        }

        public Criteria andPartNoBetween(String value1, String value2) {
            addCriterion("part_no between", value1, value2, "partNo");
            return (Criteria) this;
        }

        public Criteria andPartNoNotBetween(String value1, String value2) {
            addCriterion("part_no not between", value1, value2, "partNo");
            return (Criteria) this;
        }

        public Criteria andParentUidIsNull() {
            addCriterion("parent_uid is null");
            return (Criteria) this;
        }

        public Criteria andParentUidIsNotNull() {
            addCriterion("parent_uid is not null");
            return (Criteria) this;
        }

        public Criteria andParentUidEqualTo(String value) {
            addCriterion("parent_uid =", value, "parentUid");
            return (Criteria) this;
        }

        public Criteria andParentUidNotEqualTo(String value) {
            addCriterion("parent_uid <>", value, "parentUid");
            return (Criteria) this;
        }

        public Criteria andParentUidGreaterThan(String value) {
            addCriterion("parent_uid >", value, "parentUid");
            return (Criteria) this;
        }

        public Criteria andParentUidGreaterThanOrEqualTo(String value) {
            addCriterion("parent_uid >=", value, "parentUid");
            return (Criteria) this;
        }

        public Criteria andParentUidLessThan(String value) {
            addCriterion("parent_uid <", value, "parentUid");
            return (Criteria) this;
        }

        public Criteria andParentUidLessThanOrEqualTo(String value) {
            addCriterion("parent_uid <=", value, "parentUid");
            return (Criteria) this;
        }

        public Criteria andParentUidLike(String value) {
            addCriterion("parent_uid like", value, "parentUid");
            return (Criteria) this;
        }

        public Criteria andParentUidNotLike(String value) {
            addCriterion("parent_uid not like", value, "parentUid");
            return (Criteria) this;
        }

        public Criteria andParentUidIn(List<String> values) {
            addCriterion("parent_uid in", values, "parentUid");
            return (Criteria) this;
        }

        public Criteria andParentUidNotIn(List<String> values) {
            addCriterion("parent_uid not in", values, "parentUid");
            return (Criteria) this;
        }

        public Criteria andParentUidBetween(String value1, String value2) {
            addCriterion("parent_uid between", value1, value2, "parentUid");
            return (Criteria) this;
        }

        public Criteria andParentUidNotBetween(String value1, String value2) {
            addCriterion("parent_uid not between", value1, value2, "parentUid");
            return (Criteria) this;
        }

        public Criteria andStkOutinTypeUidIsNull() {
            addCriterion("stk_outin_type_uid is null");
            return (Criteria) this;
        }

        public Criteria andStkOutinTypeUidIsNotNull() {
            addCriterion("stk_outin_type_uid is not null");
            return (Criteria) this;
        }

        public Criteria andStkOutinTypeUidEqualTo(String value) {
            addCriterion("stk_outin_type_uid =", value, "stkOutinTypeUid");
            return (Criteria) this;
        }

        public Criteria andStkOutinTypeUidNotEqualTo(String value) {
            addCriterion("stk_outin_type_uid <>", value, "stkOutinTypeUid");
            return (Criteria) this;
        }

        public Criteria andStkOutinTypeUidGreaterThan(String value) {
            addCriterion("stk_outin_type_uid >", value, "stkOutinTypeUid");
            return (Criteria) this;
        }

        public Criteria andStkOutinTypeUidGreaterThanOrEqualTo(String value) {
            addCriterion("stk_outin_type_uid >=", value, "stkOutinTypeUid");
            return (Criteria) this;
        }

        public Criteria andStkOutinTypeUidLessThan(String value) {
            addCriterion("stk_outin_type_uid <", value, "stkOutinTypeUid");
            return (Criteria) this;
        }

        public Criteria andStkOutinTypeUidLessThanOrEqualTo(String value) {
            addCriterion("stk_outin_type_uid <=", value, "stkOutinTypeUid");
            return (Criteria) this;
        }

        public Criteria andStkOutinTypeUidLike(String value) {
            addCriterion("stk_outin_type_uid like", value, "stkOutinTypeUid");
            return (Criteria) this;
        }

        public Criteria andStkOutinTypeUidNotLike(String value) {
            addCriterion("stk_outin_type_uid not like", value, "stkOutinTypeUid");
            return (Criteria) this;
        }

        public Criteria andStkOutinTypeUidIn(List<String> values) {
            addCriterion("stk_outin_type_uid in", values, "stkOutinTypeUid");
            return (Criteria) this;
        }

        public Criteria andStkOutinTypeUidNotIn(List<String> values) {
            addCriterion("stk_outin_type_uid not in", values, "stkOutinTypeUid");
            return (Criteria) this;
        }

        public Criteria andStkOutinTypeUidBetween(String value1, String value2) {
            addCriterion("stk_outin_type_uid between", value1, value2, "stkOutinTypeUid");
            return (Criteria) this;
        }

        public Criteria andStkOutinTypeUidNotBetween(String value1, String value2) {
            addCriterion("stk_outin_type_uid not between", value1, value2, "stkOutinTypeUid");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("`state` is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("`state` is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(Byte value) {
            addCriterion("`state` =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(Byte value) {
            addCriterion("`state` <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(Byte value) {
            addCriterion("`state` >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(Byte value) {
            addCriterion("`state` >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(Byte value) {
            addCriterion("`state` <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(Byte value) {
            addCriterion("`state` <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<Byte> values) {
            addCriterion("`state` in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<Byte> values) {
            addCriterion("`state` not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(Byte value1, Byte value2) {
            addCriterion("`state` between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(Byte value1, Byte value2) {
            addCriterion("`state` not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStkLocationUidIsNull() {
            addCriterion("stk_location_uid is null");
            return (Criteria) this;
        }

        public Criteria andStkLocationUidIsNotNull() {
            addCriterion("stk_location_uid is not null");
            return (Criteria) this;
        }

        public Criteria andStkLocationUidEqualTo(String value) {
            addCriterion("stk_location_uid =", value, "stkLocationUid");
            return (Criteria) this;
        }

        public Criteria andStkLocationUidNotEqualTo(String value) {
            addCriterion("stk_location_uid <>", value, "stkLocationUid");
            return (Criteria) this;
        }

        public Criteria andStkLocationUidGreaterThan(String value) {
            addCriterion("stk_location_uid >", value, "stkLocationUid");
            return (Criteria) this;
        }

        public Criteria andStkLocationUidGreaterThanOrEqualTo(String value) {
            addCriterion("stk_location_uid >=", value, "stkLocationUid");
            return (Criteria) this;
        }

        public Criteria andStkLocationUidLessThan(String value) {
            addCriterion("stk_location_uid <", value, "stkLocationUid");
            return (Criteria) this;
        }

        public Criteria andStkLocationUidLessThanOrEqualTo(String value) {
            addCriterion("stk_location_uid <=", value, "stkLocationUid");
            return (Criteria) this;
        }

        public Criteria andStkLocationUidLike(String value) {
            addCriterion("stk_location_uid like", value, "stkLocationUid");
            return (Criteria) this;
        }

        public Criteria andStkLocationUidNotLike(String value) {
            addCriterion("stk_location_uid not like", value, "stkLocationUid");
            return (Criteria) this;
        }

        public Criteria andStkLocationUidIn(List<String> values) {
            addCriterion("stk_location_uid in", values, "stkLocationUid");
            return (Criteria) this;
        }

        public Criteria andStkLocationUidNotIn(List<String> values) {
            addCriterion("stk_location_uid not in", values, "stkLocationUid");
            return (Criteria) this;
        }

        public Criteria andStkLocationUidBetween(String value1, String value2) {
            addCriterion("stk_location_uid between", value1, value2, "stkLocationUid");
            return (Criteria) this;
        }

        public Criteria andStkLocationUidNotBetween(String value1, String value2) {
            addCriterion("stk_location_uid not between", value1, value2, "stkLocationUid");
            return (Criteria) this;
        }

        public Criteria andStkUidIsNull() {
            addCriterion("stk_uid is null");
            return (Criteria) this;
        }

        public Criteria andStkUidIsNotNull() {
            addCriterion("stk_uid is not null");
            return (Criteria) this;
        }

        public Criteria andStkUidEqualTo(String value) {
            addCriterion("stk_uid =", value, "stkUid");
            return (Criteria) this;
        }

        public Criteria andStkUidNotEqualTo(String value) {
            addCriterion("stk_uid <>", value, "stkUid");
            return (Criteria) this;
        }

        public Criteria andStkUidGreaterThan(String value) {
            addCriterion("stk_uid >", value, "stkUid");
            return (Criteria) this;
        }

        public Criteria andStkUidGreaterThanOrEqualTo(String value) {
            addCriterion("stk_uid >=", value, "stkUid");
            return (Criteria) this;
        }

        public Criteria andStkUidLessThan(String value) {
            addCriterion("stk_uid <", value, "stkUid");
            return (Criteria) this;
        }

        public Criteria andStkUidLessThanOrEqualTo(String value) {
            addCriterion("stk_uid <=", value, "stkUid");
            return (Criteria) this;
        }

        public Criteria andStkUidLike(String value) {
            addCriterion("stk_uid like", value, "stkUid");
            return (Criteria) this;
        }

        public Criteria andStkUidNotLike(String value) {
            addCriterion("stk_uid not like", value, "stkUid");
            return (Criteria) this;
        }

        public Criteria andStkUidIn(List<String> values) {
            addCriterion("stk_uid in", values, "stkUid");
            return (Criteria) this;
        }

        public Criteria andStkUidNotIn(List<String> values) {
            addCriterion("stk_uid not in", values, "stkUid");
            return (Criteria) this;
        }

        public Criteria andStkUidBetween(String value1, String value2) {
            addCriterion("stk_uid between", value1, value2, "stkUid");
            return (Criteria) this;
        }

        public Criteria andStkUidNotBetween(String value1, String value2) {
            addCriterion("stk_uid not between", value1, value2, "stkUid");
            return (Criteria) this;
        }

        public Criteria andDegreeIsNull() {
            addCriterion("`degree` is null");
            return (Criteria) this;
        }

        public Criteria andDegreeIsNotNull() {
            addCriterion("`degree` is not null");
            return (Criteria) this;
        }

        public Criteria andDegreeEqualTo(Byte value) {
            addCriterion("`degree` =", value, "degree");
            return (Criteria) this;
        }

        public Criteria andDegreeNotEqualTo(Byte value) {
            addCriterion("`degree` <>", value, "degree");
            return (Criteria) this;
        }

        public Criteria andDegreeGreaterThan(Byte value) {
            addCriterion("`degree` >", value, "degree");
            return (Criteria) this;
        }

        public Criteria andDegreeGreaterThanOrEqualTo(Byte value) {
            addCriterion("`degree` >=", value, "degree");
            return (Criteria) this;
        }

        public Criteria andDegreeLessThan(Byte value) {
            addCriterion("`degree` <", value, "degree");
            return (Criteria) this;
        }

        public Criteria andDegreeLessThanOrEqualTo(Byte value) {
            addCriterion("`degree` <=", value, "degree");
            return (Criteria) this;
        }

        public Criteria andDegreeIn(List<Byte> values) {
            addCriterion("`degree` in", values, "degree");
            return (Criteria) this;
        }

        public Criteria andDegreeNotIn(List<Byte> values) {
            addCriterion("`degree` not in", values, "degree");
            return (Criteria) this;
        }

        public Criteria andDegreeBetween(Byte value1, Byte value2) {
            addCriterion("`degree` between", value1, value2, "degree");
            return (Criteria) this;
        }

        public Criteria andDegreeNotBetween(Byte value1, Byte value2) {
            addCriterion("`degree` not between", value1, value2, "degree");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(Long value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(Long value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(Long value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(Long value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(Long value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(Long value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<Long> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<Long> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(Long value1, Long value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(Long value1, Long value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPartSnIsNull() {
            addCriterion("part_sn is null");
            return (Criteria) this;
        }

        public Criteria andPartSnIsNotNull() {
            addCriterion("part_sn is not null");
            return (Criteria) this;
        }

        public Criteria andPartSnEqualTo(String value) {
            addCriterion("part_sn =", value, "partSn");
            return (Criteria) this;
        }

        public Criteria andPartSnNotEqualTo(String value) {
            addCriterion("part_sn <>", value, "partSn");
            return (Criteria) this;
        }

        public Criteria andPartSnGreaterThan(String value) {
            addCriterion("part_sn >", value, "partSn");
            return (Criteria) this;
        }

        public Criteria andPartSnGreaterThanOrEqualTo(String value) {
            addCriterion("part_sn >=", value, "partSn");
            return (Criteria) this;
        }

        public Criteria andPartSnLessThan(String value) {
            addCriterion("part_sn <", value, "partSn");
            return (Criteria) this;
        }

        public Criteria andPartSnLessThanOrEqualTo(String value) {
            addCriterion("part_sn <=", value, "partSn");
            return (Criteria) this;
        }

        public Criteria andPartSnLike(String value) {
            addCriterion("part_sn like", value, "partSn");
            return (Criteria) this;
        }

        public Criteria andPartSnNotLike(String value) {
            addCriterion("part_sn not like", value, "partSn");
            return (Criteria) this;
        }

        public Criteria andPartSnIn(List<String> values) {
            addCriterion("part_sn in", values, "partSn");
            return (Criteria) this;
        }

        public Criteria andPartSnNotIn(List<String> values) {
            addCriterion("part_sn not in", values, "partSn");
            return (Criteria) this;
        }

        public Criteria andPartSnBetween(String value1, String value2) {
            addCriterion("part_sn between", value1, value2, "partSn");
            return (Criteria) this;
        }

        public Criteria andPartSnNotBetween(String value1, String value2) {
            addCriterion("part_sn not between", value1, value2, "partSn");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("`type` is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("`type` is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("`type` =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("`type` <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("`type` >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("`type` >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("`type` <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("`type` <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("`type` like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("`type` not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("`type` in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("`type` not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("`type` between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("`type` not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andCUserUidIsNull() {
            addCriterion("c_user_uid is null");
            return (Criteria) this;
        }

        public Criteria andCUserUidIsNotNull() {
            addCriterion("c_user_uid is not null");
            return (Criteria) this;
        }

        public Criteria andCUserUidEqualTo(String value) {
            addCriterion("c_user_uid =", value, "cUserUid");
            return (Criteria) this;
        }

        public Criteria andCUserUidNotEqualTo(String value) {
            addCriterion("c_user_uid <>", value, "cUserUid");
            return (Criteria) this;
        }

        public Criteria andCUserUidGreaterThan(String value) {
            addCriterion("c_user_uid >", value, "cUserUid");
            return (Criteria) this;
        }

        public Criteria andCUserUidGreaterThanOrEqualTo(String value) {
            addCriterion("c_user_uid >=", value, "cUserUid");
            return (Criteria) this;
        }

        public Criteria andCUserUidLessThan(String value) {
            addCriterion("c_user_uid <", value, "cUserUid");
            return (Criteria) this;
        }

        public Criteria andCUserUidLessThanOrEqualTo(String value) {
            addCriterion("c_user_uid <=", value, "cUserUid");
            return (Criteria) this;
        }

        public Criteria andCUserUidLike(String value) {
            addCriterion("c_user_uid like", value, "cUserUid");
            return (Criteria) this;
        }

        public Criteria andCUserUidNotLike(String value) {
            addCriterion("c_user_uid not like", value, "cUserUid");
            return (Criteria) this;
        }

        public Criteria andCUserUidIn(List<String> values) {
            addCriterion("c_user_uid in", values, "cUserUid");
            return (Criteria) this;
        }

        public Criteria andCUserUidNotIn(List<String> values) {
            addCriterion("c_user_uid not in", values, "cUserUid");
            return (Criteria) this;
        }

        public Criteria andCUserUidBetween(String value1, String value2) {
            addCriterion("c_user_uid between", value1, value2, "cUserUid");
            return (Criteria) this;
        }

        public Criteria andCUserUidNotBetween(String value1, String value2) {
            addCriterion("c_user_uid not between", value1, value2, "cUserUid");
            return (Criteria) this;
        }

        public Criteria andCTimeIsNull() {
            addCriterion("c_time is null");
            return (Criteria) this;
        }

        public Criteria andCTimeIsNotNull() {
            addCriterion("c_time is not null");
            return (Criteria) this;
        }

        public Criteria andCTimeEqualTo(Date value) {
            addCriterion("c_time =", value, "cTime");
            return (Criteria) this;
        }

        public Criteria andCTimeNotEqualTo(Date value) {
            addCriterion("c_time <>", value, "cTime");
            return (Criteria) this;
        }

        public Criteria andCTimeGreaterThan(Date value) {
            addCriterion("c_time >", value, "cTime");
            return (Criteria) this;
        }

        public Criteria andCTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("c_time >=", value, "cTime");
            return (Criteria) this;
        }

        public Criteria andCTimeLessThan(Date value) {
            addCriterion("c_time <", value, "cTime");
            return (Criteria) this;
        }

        public Criteria andCTimeLessThanOrEqualTo(Date value) {
            addCriterion("c_time <=", value, "cTime");
            return (Criteria) this;
        }

        public Criteria andCTimeIn(List<Date> values) {
            addCriterion("c_time in", values, "cTime");
            return (Criteria) this;
        }

        public Criteria andCTimeNotIn(List<Date> values) {
            addCriterion("c_time not in", values, "cTime");
            return (Criteria) this;
        }

        public Criteria andCTimeBetween(Date value1, Date value2) {
            addCriterion("c_time between", value1, value2, "cTime");
            return (Criteria) this;
        }

        public Criteria andCTimeNotBetween(Date value1, Date value2) {
            addCriterion("c_time not between", value1, value2, "cTime");
            return (Criteria) this;
        }

        public Criteria andMUserUidIsNull() {
            addCriterion("m_user_uid is null");
            return (Criteria) this;
        }

        public Criteria andMUserUidIsNotNull() {
            addCriterion("m_user_uid is not null");
            return (Criteria) this;
        }

        public Criteria andMUserUidEqualTo(String value) {
            addCriterion("m_user_uid =", value, "mUserUid");
            return (Criteria) this;
        }

        public Criteria andMUserUidNotEqualTo(String value) {
            addCriterion("m_user_uid <>", value, "mUserUid");
            return (Criteria) this;
        }

        public Criteria andMUserUidGreaterThan(String value) {
            addCriterion("m_user_uid >", value, "mUserUid");
            return (Criteria) this;
        }

        public Criteria andMUserUidGreaterThanOrEqualTo(String value) {
            addCriterion("m_user_uid >=", value, "mUserUid");
            return (Criteria) this;
        }

        public Criteria andMUserUidLessThan(String value) {
            addCriterion("m_user_uid <", value, "mUserUid");
            return (Criteria) this;
        }

        public Criteria andMUserUidLessThanOrEqualTo(String value) {
            addCriterion("m_user_uid <=", value, "mUserUid");
            return (Criteria) this;
        }

        public Criteria andMUserUidLike(String value) {
            addCriterion("m_user_uid like", value, "mUserUid");
            return (Criteria) this;
        }

        public Criteria andMUserUidNotLike(String value) {
            addCriterion("m_user_uid not like", value, "mUserUid");
            return (Criteria) this;
        }

        public Criteria andMUserUidIn(List<String> values) {
            addCriterion("m_user_uid in", values, "mUserUid");
            return (Criteria) this;
        }

        public Criteria andMUserUidNotIn(List<String> values) {
            addCriterion("m_user_uid not in", values, "mUserUid");
            return (Criteria) this;
        }

        public Criteria andMUserUidBetween(String value1, String value2) {
            addCriterion("m_user_uid between", value1, value2, "mUserUid");
            return (Criteria) this;
        }

        public Criteria andMUserUidNotBetween(String value1, String value2) {
            addCriterion("m_user_uid not between", value1, value2, "mUserUid");
            return (Criteria) this;
        }

        public Criteria andMTimeIsNull() {
            addCriterion("m_time is null");
            return (Criteria) this;
        }

        public Criteria andMTimeIsNotNull() {
            addCriterion("m_time is not null");
            return (Criteria) this;
        }

        public Criteria andMTimeEqualTo(Date value) {
            addCriterion("m_time =", value, "mTime");
            return (Criteria) this;
        }

        public Criteria andMTimeNotEqualTo(Date value) {
            addCriterion("m_time <>", value, "mTime");
            return (Criteria) this;
        }

        public Criteria andMTimeGreaterThan(Date value) {
            addCriterion("m_time >", value, "mTime");
            return (Criteria) this;
        }

        public Criteria andMTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("m_time >=", value, "mTime");
            return (Criteria) this;
        }

        public Criteria andMTimeLessThan(Date value) {
            addCriterion("m_time <", value, "mTime");
            return (Criteria) this;
        }

        public Criteria andMTimeLessThanOrEqualTo(Date value) {
            addCriterion("m_time <=", value, "mTime");
            return (Criteria) this;
        }

        public Criteria andMTimeIn(List<Date> values) {
            addCriterion("m_time in", values, "mTime");
            return (Criteria) this;
        }

        public Criteria andMTimeNotIn(List<Date> values) {
            addCriterion("m_time not in", values, "mTime");
            return (Criteria) this;
        }

        public Criteria andMTimeBetween(Date value1, Date value2) {
            addCriterion("m_time between", value1, value2, "mTime");
            return (Criteria) this;
        }

        public Criteria andMTimeNotBetween(Date value1, Date value2) {
            addCriterion("m_time not between", value1, value2, "mTime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("del_flag is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("del_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(Byte value) {
            addCriterion("del_flag =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(Byte value) {
            addCriterion("del_flag <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(Byte value) {
            addCriterion("del_flag >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) {
            addCriterion("del_flag >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(Byte value) {
            addCriterion("del_flag <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(Byte value) {
            addCriterion("del_flag <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<Byte> values) {
            addCriterion("del_flag in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<Byte> values) {
            addCriterion("del_flag not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(Byte value1, Byte value2) {
            addCriterion("del_flag between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(Byte value1, Byte value2) {
            addCriterion("del_flag not between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andPartModelUidIsNull() {
            addCriterion("part_model_uid is null");
            return (Criteria) this;
        }

        public Criteria andPartModelUidIsNotNull() {
            addCriterion("part_model_uid is not null");
            return (Criteria) this;
        }

        public Criteria andPartModelUidEqualTo(String value) {
            addCriterion("part_model_uid =", value, "partModelUid");
            return (Criteria) this;
        }

        public Criteria andPartModelUidNotEqualTo(String value) {
            addCriterion("part_model_uid <>", value, "partModelUid");
            return (Criteria) this;
        }

        public Criteria andPartModelUidGreaterThan(String value) {
            addCriterion("part_model_uid >", value, "partModelUid");
            return (Criteria) this;
        }

        public Criteria andPartModelUidGreaterThanOrEqualTo(String value) {
            addCriterion("part_model_uid >=", value, "partModelUid");
            return (Criteria) this;
        }

        public Criteria andPartModelUidLessThan(String value) {
            addCriterion("part_model_uid <", value, "partModelUid");
            return (Criteria) this;
        }

        public Criteria andPartModelUidLessThanOrEqualTo(String value) {
            addCriterion("part_model_uid <=", value, "partModelUid");
            return (Criteria) this;
        }

        public Criteria andPartModelUidLike(String value) {
            addCriterion("part_model_uid like", value, "partModelUid");
            return (Criteria) this;
        }

        public Criteria andPartModelUidNotLike(String value) {
            addCriterion("part_model_uid not like", value, "partModelUid");
            return (Criteria) this;
        }

        public Criteria andPartModelUidIn(List<String> values) {
            addCriterion("part_model_uid in", values, "partModelUid");
            return (Criteria) this;
        }

        public Criteria andPartModelUidNotIn(List<String> values) {
            addCriterion("part_model_uid not in", values, "partModelUid");
            return (Criteria) this;
        }

        public Criteria andPartModelUidBetween(String value1, String value2) {
            addCriterion("part_model_uid between", value1, value2, "partModelUid");
            return (Criteria) this;
        }

        public Criteria andPartModelUidNotBetween(String value1, String value2) {
            addCriterion("part_model_uid not between", value1, value2, "partModelUid");
            return (Criteria) this;
        }

        public Criteria andIsMissingIsNull() {
            addCriterion("is_missing is null");
            return (Criteria) this;
        }

        public Criteria andIsMissingIsNotNull() {
            addCriterion("is_missing is not null");
            return (Criteria) this;
        }

        public Criteria andIsMissingEqualTo(Byte value) {
            addCriterion("is_missing =", value, "isMissing");
            return (Criteria) this;
        }

        public Criteria andIsMissingNotEqualTo(Byte value) {
            addCriterion("is_missing <>", value, "isMissing");
            return (Criteria) this;
        }

        public Criteria andIsMissingGreaterThan(Byte value) {
            addCriterion("is_missing >", value, "isMissing");
            return (Criteria) this;
        }

        public Criteria andIsMissingGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_missing >=", value, "isMissing");
            return (Criteria) this;
        }

        public Criteria andIsMissingLessThan(Byte value) {
            addCriterion("is_missing <", value, "isMissing");
            return (Criteria) this;
        }

        public Criteria andIsMissingLessThanOrEqualTo(Byte value) {
            addCriterion("is_missing <=", value, "isMissing");
            return (Criteria) this;
        }

        public Criteria andIsMissingIn(List<Byte> values) {
            addCriterion("is_missing in", values, "isMissing");
            return (Criteria) this;
        }

        public Criteria andIsMissingNotIn(List<Byte> values) {
            addCriterion("is_missing not in", values, "isMissing");
            return (Criteria) this;
        }

        public Criteria andIsMissingBetween(Byte value1, Byte value2) {
            addCriterion("is_missing between", value1, value2, "isMissing");
            return (Criteria) this;
        }

        public Criteria andIsMissingNotBetween(Byte value1, Byte value2) {
            addCriterion("is_missing not between", value1, value2, "isMissing");
            return (Criteria) this;
        }

        public Criteria andGuaranteeIsNull() {
            addCriterion("guarantee is null");
            return (Criteria) this;
        }

        public Criteria andGuaranteeIsNotNull() {
            addCriterion("guarantee is not null");
            return (Criteria) this;
        }

        public Criteria andGuaranteeEqualTo(Date value) {
            addCriterionForJDBCDate("guarantee =", value, "guarantee");
            return (Criteria) this;
        }

        public Criteria andGuaranteeNotEqualTo(Date value) {
            addCriterionForJDBCDate("guarantee <>", value, "guarantee");
            return (Criteria) this;
        }

        public Criteria andGuaranteeGreaterThan(Date value) {
            addCriterionForJDBCDate("guarantee >", value, "guarantee");
            return (Criteria) this;
        }

        public Criteria andGuaranteeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("guarantee >=", value, "guarantee");
            return (Criteria) this;
        }

        public Criteria andGuaranteeLessThan(Date value) {
            addCriterionForJDBCDate("guarantee <", value, "guarantee");
            return (Criteria) this;
        }

        public Criteria andGuaranteeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("guarantee <=", value, "guarantee");
            return (Criteria) this;
        }

        public Criteria andGuaranteeIn(List<Date> values) {
            addCriterionForJDBCDate("guarantee in", values, "guarantee");
            return (Criteria) this;
        }

        public Criteria andGuaranteeNotIn(List<Date> values) {
            addCriterionForJDBCDate("guarantee not in", values, "guarantee");
            return (Criteria) this;
        }

        public Criteria andGuaranteeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("guarantee between", value1, value2, "guarantee");
            return (Criteria) this;
        }

        public Criteria andGuaranteeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("guarantee not between", value1, value2, "guarantee");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}